//定制请求的实例

//导入axios  npm install axios
import axios from 'axios';


import { ElMessage } from 'element-plus'
//定义一个变量,记录公共的前缀  ,  baseURL
// const baseURL = 'http://localhost:8080';
const baseURL = '/api';
const instance = axios.create({baseURL})



export default instance;